package com.hl.manage.service.impl;

import com.hl.manage.entity.User;
import com.hl.manage.mapper.UserMapper;
import com.hl.manage.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author Helei
 * @since 2021-03-10
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
	
	@Resource
	private UserMapper userMapper;
	@Override
	public List<User> findAllUser(String account,String password) {
		// TODO Auto-generated method stub
		return userMapper.findAllUser(account,password);
	}
	@Override
	public List<User> pageBycompany(Integer companyId) {
		// TODO Auto-generated method stub
		return userMapper.pageBycompany(companyId);
	}
	@Override
	public User findUgdName(Integer id) {
		// TODO Auto-generated method stub
		return userMapper.findUgdName(id);
	}

}
